Repository navigation
Install drive apps from the plugin catalog, with versioned updates - #1689
Closed
michielbdejong wants to merge 2 commits into
Closed
michielbdejong wants to merge 2 commits into
michielbdejong wants to merge 2 commits into
Conversation
A catalog.json entry can now name an installable drive app: `app-module` (the built ES module for exactly `version`), `app-module-integrity` (its SRI hash) and optionally `app-row-name`/`app-row-name-plural`. This is distinct from `pluginUrl`, which is a source link. - @tomic/lib `catalog-app.ts`: parse an entry, fetch its module and refuse it unless its bytes match the pinned integrity, then `createApp` (app, ontology, row class, table, entry point, identity) and record where it came from (`app-catalog-id`, `app-version`, `app-module`, `app-module-integrity`, drive-local terms). `updateCatalogApp` replaces only the entry point's source via `updateApp`, so rows, schema, identity and rights survive. `catalogAppState` offers install / update / nothing, never a downgrade. - data-browser: the catalog parser keeps app entries (module resolved against the catalog URL); the Integrations page gets a "Drive apps" section with Install / Open / "Installed <version>" / "Update to <version>", gated like the rest of the page (enabled, experimental, API plugins). Install hands the app key to the node as the New menu does. For ontola/atomic-plugins#94. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without these entries the new Integrations section renders its headings, copy and labels empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 24, 2026
michielbdejong
pushed a commit
that referenced
this pull request
Sep 24, 2026
…talog app install) Integration branch for ontola/atomic-plugins' .atomic-server-ref while both PRs await review. Not for merging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Sep 24, 2026
joepio
added a commit
that referenced
this pull request
Sep 24, 2026
Member
|
Landed on develop in c589fc6 via the combined batch #1699, which was tested green on Mancave at this PR's head. Closing, since the squash merge does not mark it merged. Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For ontola/atomic-plugins#94. Lets users find, install and update iframe drive apps from the Integrations page, instead of test helpers injecting app source.
lib,
catalog-app.ts:app-module(the URL of the built ES module for exactlyversion) andapp-module-integrity(SRI sha384).createAppcreates the app, ontology, row class, table, entry point and identity, and records where it came from (app-catalog-id,app-version,app-module,app-module-integrity).updateCatalogAppreplaces only the entry point's source throughupdateApp, so rows, schema, identity and rights survive.catalogAppStateoffers install, update or nothing. It never offers a downgrade.data-browser:
Tests:
catalog-app.test.ts(7),plugin-app.test.ts, data-browserpluginCatalog.test.tsx(8) and data-browsertscpass.🤖 Generated with Claude Code